<!-- 相当于给模板定义一个名称 define 和 end 是成对出现的 -->
{{ define "admin/index.html" }}
<!DOCTYPE html>
<html lang="cn">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=Edge">
    <meta name="viewport" content="width=device-width,initial-scale=1.0">
    <title>document</title>
</head>
<bady>
    <h2>{{.title}}</h2>
</bady>

</html>
{{ end }}